<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Welcome to CodeIgniter</title>

<link href="<?php echo base_url()?>/css/master.css" media="screen"
	rel="stylesheet" type="text/css">

</style>
</head>
<body>

	<div id="container">
		<h1>Welcome to CodeIgniter!</h1>

		<div id="body">

			<?php if ($errors): ?>
			<?php echo $errors?>
			<?php endif;?>
			
			<?php echo validation_errors(); ?>

			<?php echo form_open('login'); ?>
			<table>
				<tr>
					<td><?php echo form_label('Username','username')?></td>
					<td><?php echo form_input('username')?></td>
				</tr>
				<tr>
					<td><?php echo form_label('Password','password')?></td>
					<td><?php echo form_input('password')?></td>
				</tr>

				<tr>
					<td><?php echo form_label('Remember Me','remember')?></td>
					<td><?php echo form_checkbox('remember', '1', FALSE);?></td>
				</tr>
				<tr>
					<td colspan="2"><?php echo form_submit('mysubmit', 'Login!');?></td>
				</tr>
			</table>
			<?php echo form_close();?>
			<a href="<?php echo $login_url ?>">Login to this thing by facebook</a><br>
		</div>

		<p class="footer">
			Page rendered in <strong>{elapsed_time}</strong> seconds
		</p>

	</div>

</body>
</html>
